Add a described by relation to the search button so the description is read
when the button gets focus.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4251>
(cherry picked from commit
a6bb705d7abb1e867b117e66a03dba6c8ba8cb45)
+import Atk from 'gi://Atk';
import Clutter from 'gi://Clutter';
import Gio from 'gi://Gio';
import GLib from 'gi://GLib';
});
content.add_child(this._descriptionLabel);
+ this.get_accessible().add_relationship(
+ Atk.RelationType.DESCRIBED_BY,
+ this._descriptionLabel.get_accessible());
+
this._resultsView.connectObject(
'terms-changed', this._highlightTerms.bind(this), this);